package marchenko.lab1.main;

import java.io.IOException;


public class Main {

	public static final int TIMEOUT = 3000;

	public static void main(String[] args) throws IOException  {
		printVersions();
	}

	static void printVersions() {
		Object t;
		while (true) {
			t = TestModuleFactory.newInstance();
			System.out.println(t);
			try {
				Thread.sleep(TIMEOUT);
			} catch (InterruptedException e) {
				System.out.println("Interrupted Exception");
			}
		}
	}
}
